package com.yugu.park.business.service;

import com.github.pagehelper.PageInfo;
import com.yugu.park.business.entity.MemberInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yugu.park.dto.CardDto;
import com.yugu.park.dto.MemberInfoDto;
import com.yugu.util.SearchPage;
import com.yugu.util.SysQueryParam;

import java.util.List;

/**
* @author Noble-Six
* @description 针对表【t_member_info(会员信息表)】的数据库操作Service
* @createDate 2024-04-25 11:02:27
*/
public interface MemberInfoService extends IService<MemberInfo> {

    void addOrUpdate(MemberInfoDto infoDto);

    PageInfo<MemberInfoDto> page(SearchPage<SysQueryParam> search);

    List<CardDto> indexGetMemberInfo(SearchPage<SysQueryParam> searchPage);

    void removeIds(List<String> asList);

    MemberInfoDto getByMobile(String mobile);
}
